package com.qujia.station.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 团队管理表
 *
 * @TableName team_management
 */
@TableName(value = "team_management")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TeamManagement implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 团队id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 地区
     */
    private String district;

    //负责人id
    private Long leaderId;

    /**
     * 负责人
     */
    private String leader;

    /**
     * 团队名称
     */
    private String teamName;

    /**
     * 逻辑删除标志（0未删除 1已删除）
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createdDate;

    /**
     * 修改时间
     */
    private Date updateTime;

    //业务员id
    private String members;


}